﻿/*
 * @Author       : sx
 * @Date         : 2021-10-20 15:56:22
 * @LastEditors  : sx
 * @LastEditTime : 2021-10-20 17:27:10
 * @FilePath     : \React-PC-Module\config\routes.ts
 * @Description  :
 */
export default [
  {
    path: '/login',
    layout: false,
    routes: [
      {
        path: '/login',
        routes: [
          {
            name: '登录',
            path: '/login/page',
            component: './Login',
          },
        ],
      },
    ],
  },
  {
    path: '/Book',
    name: '图书管理',
    icon: 'BookOutlined',
    component: './Book',
  },
  {
    path: '/User',
    name: '用户管理',
    icon: 'UserSwitchOutlined',
    component: './Users',
  },
  {
    path: '/Classification',
    name: '分类管理',
    icon: 'BlockOutlined',
    component: './Classification',
  },

  {
    path: '/',
    redirect: '/Book',
  },
  {
    component: './404',
  },
];
